var LayerManager = YYC.AClass({
    Init:function (layer) {
        this.layer = layer
    },
    Private:{},
    Public:{
        layer:null,
        addElement:function (element) {
            this.layer.appendChild(element)
        },
        initLayer:function () {
            this.layer.setCanvas()
            this.layer.init()
        },
        render: function () {
            this.layer.render()
        }
    },
    Abstract: {
        createElement: function () {}
    }
})